@echo off

set LOCAL_TOPDIR=..\..\platform\
set SETUP_PROJ_FOLDER=%LOCAL_TOPDIR%motorola\packages\apps\Setup\Setup\

echo Update SetupFSMContext.java ...
java -cp %LOCAL_TOPDIR%motorola\packages\apps\Setup\Tools\smc_6_1_0\lib\statemap.jar -jar %LOCAL_TOPDIR%motorola\packages\apps\Setup\Tools\smc_6_1_0\bin\Smc.jar -java -serial -d outsrc\com\motorola\blur\fsm -g %LOCAL_TOPDIR%motorola\packages\apps\Setup\Setup\src\com\motorola\blur\fsm\SetupFSM.sm

echo Update AndroidManifest.xml
copy /Y %SETUP_PROJ_FOLDER%AndroidManifest.xml .

pause
